home *** CD-ROM | disk | FTP | other *** search
/ EuroCD 3 / EuroCD 3.iso / Programming / SecalDemo / Inc / graphics / rastport.inc < prev    next >
Text File  |  1998-06-24  |  1KB  |  77 lines

  1. include "inc/exec/types.inc";
  2. include "inc/graphics/gfx.inc";
  3.  
  4. struct AreaInfo is
  5.   VctrTbl:ulong;
  6.   VctrPtr:ulong;
  7.   FlagTbl:ulong;
  8.   FlagPtr:ulong;
  9.   Count:word;
  10.   MaxCount:word;
  11.   FirstX,FirstY:word;
  12. ;
  13.  
  14. struct TmpRas is
  15.   RasPtr:ulong;
  16.   Size:long;
  17. ;
  18.  
  19. struct GelsInfo is
  20.   sprRsrvd:byte;
  21.   Flags:ubyte;
  22.   gelHead:ulong;
  23.   gelTail:ulong;
  24.   nextLine:ulong;
  25.   lastColor:ulong;
  26.   collHandler:ulong;
  27.   leftmost,rightmost,topmost,bottommost:word;
  28.   firstBlissObj,lastBlissObj:ulong;
  29. ;
  30.  
  31. struct RastPort is
  32.   Layer:ulong;
  33.   BitMap:ulong;
  34.   AreaPtrn:ulong;
  35.   TmpRas:ulong;
  36.   AreaInfo:ulong;
  37.   GelsInfo:ulong;
  38.   Mask:ubyte;
  39.   FgPen:byte;
  40.   BgPen:byte;
  41.   AOlPen:byte;
  42.   DrawMode:byte;
  43.   AreaPtSz:byte;
  44.   linpatcnt:byte;
  45.   dummy:byte;
  46.   Flags:uword;
  47.   LinePtrn:uword;
  48.   cp_x,cp_y:word;
  49.   minterms[8]:ubyte;
  50.   PenWidth:word;
  51.   PenHeight:word;
  52.   Font:ulong;
  53.   AlgoStyle:ubyte;
  54.   TxFlags:ubyte;
  55.   TxHeight:uword;
  56.   TxWidth:uword;
  57.   TxBaseline:uword;
  58.   TxSpacing:word;
  59.   RP_User:ulong;
  60.   longreserved[2]:ulong;
  61.   wordreserved[7]:uword;
  62.   reserved[8]:ubyte;
  63. ;
  64.  
  65. def JAM1 = 0;
  66. def JAM2 = 1;
  67. def COMPLEMENT = 2;
  68. def INVERSVID = 4;
  69.  
  70. def FRST_DOT = $01;
  71. def ONE_DOT = $02;
  72. def DBUFFER = $04;
  73.  
  74. def AREAOUTLINE = $08;
  75. def NOCROSSFILL = $20;
  76.  
  77.